import Vue from 'vue'
//通用模块状态控制
let defaultCity = '广州'
try {
  if (localStorage.city) {
    defaultCity = localStorage.city
  }
} catch (e) {}
const commModule = {
    state: {
        userName:'华喜科技',
        mintUi:'mint-Ui 按钮组件',
        city: defaultCity
    },

    //激发事件改变state 改变store中的数据使用mutations
    mutations: {
        
    },

    //频繁通用计算 
    getters: {
        
    }
}

export default commModule;